Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
View 是一个容器组件,在 Native 端可以理解为 UIView ,在 web 端即 <div>
,它可以任意嵌套,但嵌套层数过深可能会导致页面在安卓5.0以下或部分机型闪退。
View 有如下默认样式,在项目中不必重复写:
{
position: 'relative',
boxSizing: 'border-box',
display: 'flex',
flexDirection: 'column',
}
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
style | 样式 | object | |
onClick | 点击事件 | Function |
以及其他通用事件与属性
FAQs
The npm package nuke-view receives a total of 28 weekly downloads. As such, nuke-view popularity was classified as not popular.
We found that nuke-view demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.